<!DOCTYPE html>
<html xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"
      xmlns:th="http://www.thymeleaf.org">
<head th:include="/include/commonHeader::commonHeader('机型信息表')"></head>
<body>
<body class="gray-bg layer-blue">
<div class="wrapper wrapper-content animated fadeInRight full-container">
    <div class="row" id="container">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="btn-group table-tool" id="exampleToolbar" role="group">
                    <input id="pCode" type="text" class="table-tool-btn pull-left"
                           placeholder="机型"/>
                    <button type="button" class="btn btn-outline btn-success btn-refresh" data-toggle="tooltip"
                            title="查询" id="btn-search">
                        <i class="fa fa-search" aria-hidden="true"></i>
                    </button>
                    <shiro:hasPermission1 name="crew:crewConflict:add">
                        <button type="button" onclick="add()" class="btn btn-outline btn-success"
                                data-toggle="tooltip" title="添加">
                            <i class="fa fa-plus" aria-hidden="true"></i>
                        </button>
                    </shiro:hasPermission1>
                    <button type="button" onclick="reload()" class="btn btn-outline btn-success "
                            data-toggle="tooltip" title="刷新">
                        <i class="fa fa-refresh" aria-hidden="true"></i>
                    </button>
                </div>
                <table id="exampleTable" data-classes="table table-hover table-condensed">
                </table>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    var p_delete = 'hidden';
    var p_edit = 'hidden';
</script>
<shiro:hasPermission1 name="crew:crewConflict:delete">
    <script type="text/javascript">
        p_delete = '';
    </script>
</shiro:hasPermission1>
<shiro:hasPermission1 name="crew:crewConflict:edit">
    <script type="text/javascript">
        p_edit = '';
    </script>
</shiro:hasPermission1>

<!-- 外部样式引用 -->
<script src="/js/basedata/fleetList.js"></script>

</body>
</html>